package com.tas.pojo;

import org.noear.solon.core.BeanWrap;

import java.lang.reflect.Method;

/**
 * @author kevin
 */
public class AsyncMethodHolder {

  public AsyncMethodHolder(Method method, BeanWrap bean) {
    this.method = method;
    this.bean = bean;
  }

  /**
   * 执行的方法
   */
  private Method method;

  /**
   * 所在对象
   */
  private BeanWrap bean;

  public Method getMethod() {
    return method;
  }

  public void setMethod(Method method) {
    this.method = method;
  }

  public BeanWrap getBean() {
    return bean;
  }

  public void setBean(BeanWrap bean) {
    this.bean = bean;
  }
}
